package com.yunhe.sms.service;

import com.yunhe.sms.dto.Menu;
import com.yunhe.sms.entity.system.Permission;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/10/17 0017.
 */
public interface LoginService {

    public List<Menu> leftMenu(Long roleId);

    public List<Menu> findPermiMenu(Long roleId);


    Map<String,Permission> allPermission(Long roleId);

    public void autoLogin(HttpServletRequest req, HttpServletResponse resp, String autoLogin, String userName, String password);

   /* Boolean login(HttpServletRequest req,HttpServletResponse resp, String userName, String password, String autoLogin);*/



}
